package com.yuanfengPlus.basicInfoManage.warehouseinfo.dao;

import com.github.pagehelper.Page;
import com.yuanfengPlus.basicInfoManage.warehouseinfo.model.WarehouseDTO;
import com.yuanfengPlus.basicInfoManage.warehouseinfo.model.Warehouseinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

@Mapper
public interface IwarehouseinfoDao {
    Page<Warehouseinfo> selectAll(WarehouseDTO warehouseDTO);

    Integer addwarehouse(Warehouseinfo warehouseinfo);

    Integer updatewarehouse(Warehouseinfo warehouseinfo);

    Warehouseinfo selectwsinfo(@Param("warehouse_ID") String warehouse_ID);

    Integer deletewarehouse(String warehouse_ID);
}
